package com.project.service;

import com.project.pojo.Teacher;

import java.util.List;

public interface TeacherService {
    /**
     * 登陆验证
     * @param teacherId
     * @param password
     * @return
     */
    Teacher login(String teacherId, String password);

    /**
     * 查询所有教职工
     * @return
     */
    List<Teacher> selectAllTeacher();

    /**
     * 添加教职工
     * @param teacher
     */
    void addTeacher(Teacher teacher);

    /**
     * 更改 教职工信息
     * @param teacher
     */
    void updateTeacher(Teacher teacher);

    /**
     * 删除 教职工
     * @param teacherId
     */
    void deleteTeacher(long teacherId);
}
